package com.gxuwz.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.gxuwz.service.IMenuService;
import com.gxuwz.util.MenuUtil;
import org.springframework.stereotype.Service;

/**
 * Created by h on 2017/11/25.
 */
@Service
public class MenuService implements IMenuService {

    @Override
    public JSONObject getMenu(String accessToken) {
        return MenuUtil.getMenu(accessToken);
    }

    @Override
    public int createMenu(String accessToken) {
        return MenuUtil.createMenu(accessToken);
    }

    @Override
    public int deleteMenu(String accessToken) {
        return MenuUtil.deleteMenu(accessToken);
    }
}
